<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="vendors/msui/css/msui.css" />
    <link rel="stylesheet" href="assets/css/main.css">
    <link rel="stylesheet" href="assets/css/app-nav.css">
    <link rel="stylesheet" href="assets/css/table.css">
    <script type="text/javascript" src="vendors/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="vendors/msui/js/msui.min.js"></script>
    <script type="text/javascript" src="vendors/jquery/FileSaver.min.js"></script>
    <script type="text/javascript" src="vendors/jquery/tableExport.min.js"></script>
    <script type="text/javascript" src="assets/js/app-nav.js"></script>
    <script type="text/javascript" src="assets/js/app-template.js"></script>
    <script src="vendors/echarts.js"></script>
    <script src="assets/js/table.js"></script>
</head>

<body>
    <div class="app-nav"></div>
    <div class="app-wrapper" id="content">
        <div>
            <ul class="ms-nav">
                <li class="ms-active">
                    <a href="#">报表</a>
                </li>
            </ul>
        </div>
        <div class="choose">
            <form class="ms-form ms-form-inline">
                <label for="">区：</label>
                <select id="" data-ms-selected>
                    <option value="a">All</option>
                    <option value="a">A区</option>
                    <option value="b">B区</option>
                </select>
                <label for="">建筑：</label>
                <select data-ms-selected>
                    <option value="a">请选择</option>
                    <option value="a">All</option>
                    <option value="a">A1</option>
                    <option value="b">A2</option>
                    <option value="c">B1</option>
                    <option value="d">B2</option>
                </select>
                <label for="">楼层：</label>
                <select data-ms-selected>
                    <option value="a">请选择</option>
                    <option value="a">All</option>
                    <option value="a">1</option>
                    <option value="b">2</option>
                    <option value="c">3</option>
                    <option value="d">4</option>
                    <option value="a">5</option>
                    <option value="b">6</option>
                    <option value="c">7</option>
                    <option value="d">8</option>
                </select>
                <label for="">房间：</label>
                <select data-ms-selected>
                    <option value="a">请选择</option>
                    <option value="a">All</option>
                    <option value="a">01</option>
                    <option value="b">02</option>
                    <option value="c">03</option>
                    <option value="d">04</option>
                    <option value="a">05</option>
                    <option value="b">06</option>
                    <option value="c">07</option>
                    <option value="d">08</option>
                </select>
            </form>
            <div class="ms-form-group">
                <label for="">系统选择：</label>
                <label class="ms-radio-inline">
                    <input type="radio" name="docInlineRadio">All
                </label>
                <label class="ms-radio-inline">
                    <input type="radio" name="docInlineRadio">照明系统
                </label>
                <label class="ms-radio-inline">
                    <input type="radio" name="docInlineRadio">空调系统
                </label>
                <label class="ms-radio-inline">
                    <input type="radio" name="docInlineRadio">电梯系统
                </label>
            </div>
            <form action="" class="ms-form ms-form-inline ">
                <label for="">时间选择：</label>
                <div class="ms-form-group ms-form-icon ">
                    <i class="ms-icon-calendar"></i>
                    <input type="text" class="ms-form-field" placeholder="起始日期" data-ms-datepicker>
                </div>
                <span>-</span>
                <div class="ms-form-group ms-form-icon ">
                    <i class="ms-icon-calendar"></i>
                    <input type="text" class="ms-form-field" placeholder="截止日期" data-ms-datepicker>
                </div>
            </form>

            <div class="ms-form-group">
                <label for="">报表类型：</label>
                <label class="ms-checkbox-inline">
                    <input id="c1" type="checkbox" value="option1">区域报表
                </label>
                <label class="ms-checkbox-inline">
                    <input id="c2" type="checkbox" value="option2">系统报表
                </label>
                <label class="ms-checkbox-inline">
                    <input id="c3" type="checkbox" value="option3">时段报表
                </label>
                <button id="cTable" type="button" class="ms-btn ms-btn-primary creatTable">生成报表</button>
            </div>
        </div>
        <!-- <div id="time1" style="width:100%;height:470px"></div> -->
        <div class="Shell" style="width:100%;">
            <div id="area1" class="" style="display: none">
                <div class="title">区域报表</div>
                <h2 class="a ms-u-sm-3 ms-u-sm-centered">xx区用电报表</h2>
                <button id="btn_t1" type="button" class="ms-btn ms-btn-primary creatExcel">
                    导出excel
                </button>
                <table id="t1" class="ms-table ms-table-bordered ta1">
                    <tr class="ms-primary">
                        <th>区域</th>
                        <th>总用电量/KWh</th>
                        <th>电压U/V</th>
                        <th>电流I/A</th>
                        <th>功率/KW</th>
                    </tr>
                </table>
            </div>
        </div>


        <div class="Shell" style="width:100%;">
            <div id="system1" class="" style="display: none">
                <div class="title">系统报表</div>
                <h2 class="a ms-u-sm-3 ms-u-sm-centered">xx系统用电报表</h2>
                <button id="btn_t2" type="button" class="ms-btn ms-btn-primary creatExcel">
                    导出excel
                </button>
                <table id="t2" class="ms-table ms-table-bordered ta2">
                    <tr class="ms-primary">
                        <th>时间</th>
                        <th>总用电量/KWh</th>
                        <th>电压U/V</th>
                        <th>电流I/A</th>
                        <th>功率/KW</th>
                    </tr>
                </table>
            </div>
        </div>

        <div class="Shell" style="width:100%;">
            <div id="time1" class="" style="display: none">
                <div class="title">时段报表</div>
                <h2 class="a ms-u-sm-3 ms-u-sm-centered">xx时段用电报表</h2>
                <button id="btn_t3" type="button" class="ms-btn ms-btn-primary creatExcel">
                    导出excel
                </button>
                <table id="t3" class="ms-table ms-table-bordered ta3">
                    <tr class="ms-primary">
                        <th>时间</th>
                        <th>总用电量/KWh</th>
                        <th>电压U/V</th>
                        <th>电流I/A</th>
                        <th>功率/KW</th>
                    </tr>
                </table>
            </div>
        </div>

    </div>

</body>

</html>